<script>
import Play from "@/page/play/index.vue";
import { ref, onMounted, getCurrentInstance, reactive } from "vue";
//引入路由
import { useRouter, useRoute } from "vue-router";
import { useStore } from "vuex";
export default {
  components: { Play },
  setup() {
    const store = useStore();
    //创建route
    const router = useRouter();
    const { proxy } = getCurrentInstance();
    return {};
  },
};
</script>
<template>
  <div class="footer van-safe-area-bottom">
    <Play></Play>
    <div class="footerUl van-hairline--top">
      <div class="footerTap">
        <van-icon name="wap-home-o" size="1.2rem"/>
        首页
      </div>
      <div class="footerTap">
        <van-icon name="goods-collect-o" size="1.2rem"/>
        商城
      </div>
      <div class="footerTap">
        <van-icon name="user-o" size="1.2rem"/>
        我的
      </div>
    </div>
  </div>
</template>

<style lang="less" scoped>
.footer {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0px -3px 5px rgba(0, 0, 0, 0.2);
  .footerUl{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 0;
    .footerTap{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      font-weight: 600;
    }
  }
}
</style>